.page {
    width: 750rpx;
    height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--themeBgColor);

    .nav {
        width: 100vw;
        background-color: #fff;
    }
}

.header-box {
    position: relative;
    height: 100rpx;
    width: 100%;
    background-color: #fff;
    border-bottom: 1rpx solid #f2f2f2;
    z-index: 1;
    box-shadow: 1rpx 1rpx 10rpx 0 #f5f5f5;


    .tab-box {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 70rpx 70rpx 0 0;

        .tab {
            width: 100vw;
            display: flex;
            justify-content: space-between;

            .item {
                flex: 1;
                height: 100rpx;
                font-size: 30rpx;
                font-weight: 600;
                color: #585858;
                display: flex;
                align-items: center;
                justify-content: center;


                .image {
                    width: 48rpx;
                    height: 48rpx;
                    margin-right: 6rpx;
                }

                .text {
                    position: relative;

                    .count {
                        position: absolute;
                        top: -16rpx;
                        right: -22rpx;
                        font-size: 20rpx;
                        color: #fff;
                        padding: 0 8rpx;
                        background-color: #f56c6c;
                        border-radius: 999rpx;
                    }
                }
            }

            .item-active {
                color: #7367f0;
                border-bottom: 5rpx solid #7367f0;
            }
        }
    }
}



/* 列表开始 */

.content {
    width: 100%;

    .swiper {
        height: 100%;

        .search {
            position: relative;
            height: 100rpx;
            width: 700rpx;
            padding: 0 25rpx;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 1rpx 1rpx 5rpx 0 #f5f5f5;
            z-index: 1;

            .left {
                height: 80rpx;
                display: flex;
                align-items: center;

                .input {
                    width: 480rpx;
                    background-color: #fff;
                    border-radius: 15rpx;
                }

                .search-icon {
                    width: 80rpx;
                    height: 34px;
                    font-size: 46rpx;
                    background-color: rgb(255, 255, 255);
                    border-radius: 0 20rpx 20rpx 0;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                .van-search {
                    padding: 0rpx;
                    background-color: var(--themeBgColor) !important;
                }

                .van-search__content {
                    padding-left: 20rpx;
                    background-color: #fff;
                }

                .van-search__action {
                    padding: 0;
                }

                .van-search__content--round {
                    border-radius: 20rpx 0 0 20rpx;
                }

            }

            .right {
                position: relative;
                height: 80rpx;
                line-height: 80rpx;
                font-size: 28rpx;
                color: #676767;
                display: flex;
                align-items: center;

                .icon-smartshaixuan1 {
                    font-size: 42rpx;
                    color: #7e7e7e;
                    margin-right: 6rpx;
                }

                .circle {
                    position: absolute;
                    top: 16rpx;
                    right: 8rpx;
                    width: 15rpx;
                    height: 15rpx;
                    border-radius: 999rpx;
                    background-color: #f51717;
                }
            }
        }
    }

    .list {
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--themeBgColor);

        .item {
            width: 700rpx;
            background-color: #fff;
            padding: 30rpx 0;
            margin-bottom: 20rpx;
            border-radius: 20rpx;
            display: flex;

            &:first-child {
                margin-top: 8rpx;
            }

            .left {
                width: 150rpx;
                display: flex;
                justify-content: center;
                align-items: center;

                .image {
                    width: 100rpx;
                    height: 100rpx;
                }
            }

            .mid {
                width: 400rpx;
                font-size: 28rpx;
                color: #464646;

                .alarmType {
                    font-weight: 600;
                    margin-bottom: 8rpx;
                }

                .imei {
                    display: flex;
                    align-items: center;

                    .icon-smartcopy {
                        font-size: 28rpx;
                        margin-left: 5rpx;
                    }
                }


                .address {
                    margin: 10rpx;
                }
            }

            .right {
                width: 150rpx;
                font-size: 30rpx;
                color: #333333;
                display: flex;
                justify-content: center;
                align-items: center;

                .status1 {
                    color: #ff7676;
                }

                .status2 {
                    color: #FFAF66;
                }

                .status3 {
                    color: #07c160;
                }
            }
        }

        .scroll-bottom-txt {
            margin: -10rpx 0 5rpx;
        }
    }
}


// 筛选弹窗开始
.search-box {
    height: calc(100% - 55px);
    width: 100%;
    color: #747474;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;

    .search-header {
        height: 8vh;
        width: 680rpx;
        font-size: 32rpx;
        padding: 0 35rpx;
        color: #7367f0;
        background-color: #fff;
        border-bottom: 2rpx solid #f4f4f4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 1rpx 1rpx 10rpx 0 #f2f2f2;
        z-index: 1;

        .search-close {
            color: #747474;
        }
    }

    .search-content {
        // height: 40vh;
        height: calc(60vh - 8vh - 120rpx);
        width: 100%;
        overflow-y: scroll;

        .status {
            width: 100%;
            font-size: 28rpx;
            margin-top: 30rpx;
            padding-bottom: 30rpx;
            border-bottom: 1rpx solid #f2f2f2;

            .title {
                margin-left: 60rpx;
            }

            .name-box {
                margin-left: 50rpx;
                display: flex;
                flex-wrap: wrap;

                .name {
                    padding: 8rpx 35rpx;
                    margin-right: 30rpx;
                    margin-top: 20rpx;
                    border: 1rpx solid #999;
                    border-radius: 999rpx;
                }

                .active-type {
                    color: #fff;
                    border: 1rpx solid #7367f0;
                    background-color: #7367f0;
                }
            }

            .name-box1 {
                margin-right: 50rpx;
                // background-color: pink;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                .name {
                    width: 35%;
                    text-align: center;
                    margin-right: 0;
                }
            }

            .time-box {
                font-size: 30rpx;
                margin-left: 60rpx;
                margin-top: 20rpx;
                display: flex;
                flex-direction: column;

                .time {
                    margin-bottom: 10rpx;
                }

                .txt {
                    color: #7367f0;
                }
            }
        }
    }

    .search-footer {
        height: 120rpx;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;

        .btn,
        .btn1 {
            width: 260rpx;
            height: 70rpx;
            line-height: 70rpx;
            border-radius: 15rpx;
            font-size: 32rpx;

        }

        .btn1 {
            margin-left: 50rpx;
        }
    }
}

// 筛选弹窗结束

// 告警处理开始
.dialog-box {
    padding: 40rpx 30rpx 40rpx;

    .input-box {
        position: relative;
        display: flex;
        width: 600rpx;

        .label {
            height: 80rpx;
            width: 120rpx;
            font-size: 30rpx;
            color: #666;
            display: flex;
            align-items: center;

            text {
                color: #ff0000;
            }
        }

        .input {
            width: 480rpx;
            font-size: 30rpx;
            font-weight: 400;
            color: #666;
            margin-bottom: 20rpx;
            border: 1rpx solid #f2f2f2;
            border-radius: 10rpx;
            background-color: #fff;
            display: flex;

            .field {
                height: 80rpx;
                width: 380rpx;
                margin-left: 20rpx;
            }

            .textarea {
                height: 100rpx;
                margin-left: 20rpx;
                padding: 20rpx 0 0;
            }

            .arrow {
                width: 100rpx;
                font-size: 40rpx;
                color: #666;
                margin-right: 20rpx;
                display: flex;
                justify-content: flex-end;
                align-items: center;
            }
        }

        .disabled-input {
            color: #c8c9cc;

        }

        .placeholder {
            font-size: 26rpx;
            font-weight: 400;
            color: #ADADAD;
        }
    }
}

// 告警处理结束